package com.lyfei.yd.service;

import com.lyfei.yd.domain.entity.SpuAttribute;
import com.lyfei.yd.mapper.SpuAttributeMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("spuAttributeService")
public class SpuAttributeService extends BaseService<SpuAttributeMapper, SpuAttribute> {
    @Transactional
    public void deleteBySpu(Long spuId) {
        this.baseMapper.hardDeleteBySpuId(spuId);
    }
}
